package com.translate.web.param;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;


public class FileParam {

	
	@NotNull
	@Pattern(regexp = "^((http|https)://)([\\w-]+\\.)+[\\w$]+(\\/[\\w-?=&./]*)?$", message = "文件格式不对")
	private String fileName;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	
	
}
